package com.vanke.house.page;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author fangyu
 * @version v1.0.0
 * @date 2020/6/18 7:05 下午
 */
@Controller
public class PageController {

    @GetMapping({"/", "/index", "/index.html"})
    public String index() {
        return "index";
    }

    @GetMapping({"/spider", "spider.html", "/spider.html"})
    public String spider() {
        return "spider";
    }
}
